/**
 * @author 黄波
 * 创建日期：2011Sep 15, 2011
 * TODO// N/A
 */
package com.platform.common.action;

import java.util.List;

import com.platform.common.bo.CommonBo;
import com.platform.pojo.SchoolProperty;

public class loadSchoolPropertiesAction extends CommonSupport {

	private List<SchoolProperty> sps;
	private String nodeText;
	private String id;
	
	public List<SchoolProperty> getSps() {
		return sps;
	}
	public void setSps(List<SchoolProperty> sps) {
		this.sps = sps;
	}
	public String getNodeText() {
		return nodeText;
	}
	public void setNodeText(String nodeText) {
		this.nodeText = nodeText;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	@Override
	public String execute() throws Exception {
		CommonBo bo = CommonBo.getInstance();
		sps = bo.getSchoolProperties("0");
		nodeText = new String(nodeText.getBytes("iso-8859-1"), "utf-8");
		return SUCCESS;
	}
	
}
